#view_root{
    width: 820px;
    height: 600px;
    margin: 0 auto 25px auto;
    padding-bottom: 54px;
    overflow: hidden;
    background: rgba(215, 215, 215, 1);
    border: 1px solid rgba(204, 204, 204, 1);
    position: relative;
}

.view_box{
    display: inline-block;
    position: absolute;
    transform-origin: 0 0;
}

.view_drag{
    cursor: pointer;
}

.view_tools{
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
}

.view_tools span {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 50%;
    cursor: pointer;
    float: left;
    height: 24px;
    -webkit-transition: background-color .15s;
    transition: background-color .15s;
    width: 24px;
}

.view_tools span::before {
    margin: 2px;
    background-image: url(img/tools.png);
    background-repeat: no-repeat;
    color: transparent;
    display: block;
    font-size: 0;
    height: 20px;
    line-height: 0;
    width: 20px;
}

.view_in::before {
    background-position: 0 0;
    content: 'Zoom In';
}
.view_out::before {
    background-position: -20px 0;
    content: 'Zoom Out';
}

.view_one::before {
    background-position: -40px 0;
    content: 'One to One';
}

.view_left::before {
    background-position: -140px 0;
    content: 'Rotate Left';
}

.view_right::before {
    background-position: -160px 0;
    content: 'Rotate Right';
}
.view_tools span + span {
    margin-left: 1px;
}

.view_tools span:hover {
    background-color: rgba(0, 0, 0, .8);
}